<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>植物模糊检系统</title>
<!--#include virtual="users.inc.asp"-->
<style type="text/css">
div#main>dl>dd>img {
	max-width: 300px;
	max-height: 225px;
} /* for firefox & ie7 */
div#main>dl>dd>img { /* for ie6 */
	width: expression(this.width > 300 && this.width > this.height ? 300 : auto);
	height: expression(this.height > 225 ? 225 : auto);
}


div#warp div#main {
	width:600px;
}
div#warp div#main dl {
	width:590px;
	margin:5px;
}
div#warp div#main dl dt {
	background-image:url(images/label-top.gif);
	height:40px;
	padding:5px;
	padding-left:40px;
	font-size:18px;
	font-weight:bold;
}
div#warp div#main dl dd {
	margin:0px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #9C6;
	border-right-color: #9C6;
	border-bottom-color: #9C6;
	border-left-color: #9C6;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	background-image: url(images/label-bottom.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	padding:15px;
	min-height:225px;
}
div#warp div#main dl dd label {
	font-weight:bold;
}
div#warp div#main dl dd img {
	float:right;
}

div#left {
	width:400px;
	min-height:500px;
	float:left;
}
#selected {
	width:400px;
	background-color:#CCC;
}
h1 {
	margin:0px;
	font-family:"黑体", "隶书", "宋体";
}
#selected dl {
	display:block;
	margin:0px;
	width:33.3333%;
	background-color:#CCC;
	float:left;
	padding:0px;
}
#selected dl dt {
	display:inline;
	font-size:18px;
	display:block;
}
#selected dl dd {
	margin:0px;
	width:130px;
}
/*.......................................*/
div#toselect {
	width:400px;
}
div#toselect dl {
	margin-bottom:20px;
	margin:0px;
	padding:0px;
	display:block;
	float:left;
	width:400px;
}
div#toselect dl dt {
	font-family:"黑体", "隶书", "宋体";
	font-size:30px;
	background-image:url(images/dt-leaf.gif);
	background-repeat:no-repeat;
	height:25px;
	padding:10px;
}
div#toselect dl dd {
	margin:0px;
	width:300px;
	display:block;
	margin-left:auto;
	margin-right:auto;
}
div#toselect dl dd dl {
	margin-top:0px;
	width:350px;
}
div#toselect dl dd dl dt {
	font-size:24px;
	display:block;
	clear:both;
	margin-bottom:0px;
	float:left;
	background:none;
	padding:0px;
}
div#toselect dl dd dl dd {
	display:block;
	margin-bottom:10px;
	clear:both;
	float:left;
}
ul {
	margin:0px;
	padding:0px;
	display:block;
	clear:both;
}
li {
	list-style-type:none;
	display:block;
	float:left;
	width:100px;
	text-align:center;
}
li img {
	cursor:pointer;
}
</style>

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('dl dt').toggle(function() {
		$(this).next().hide('slow');
	}, function() {
		$(this).next().show('slow');
	});	
});
</script>
<script language="javascript">
	function myredirect(query)
	{
		window.location.href='popsearch.asp?' + query;
	}
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="banner"><a href="/"><img src="images/banner.jpg" /></a>
</div>
<div id="warp">
	<div id="left">
		<%
		sub makequery
			query="query=q"
			if c01<>"" then
				query=query & "&c01=" & c01
			end if
			if c02<>"" then
				query=query & "&c02=" & c02
			end if
			if c03<>"" then
				query=query & "&c03=" & c03
			end if
			if c04<>"" then
				query=query & "&c04=" & c04
			end if
			if c05<>"" then
				query=query & "&c05=" & c05
			end if
			if c06<>"" then
				query=query & "&c06=" & c06
			end if
			if c07<>"" then
				query=query & "&c07=" & c07
			end if
			if c08<>"" then
				query=query & "&c08=" & c08
			end if
		end sub
		query=request.QueryString
		c01=request.QueryString("c01")
		c02=request.QueryString("c02")
		c03=request.QueryString("c03")
		c04=request.QueryString("c04")
		c05=request.QueryString("c05")
		c06=request.QueryString("c06")
		c07=request.QueryString("c07")
		c08=request.QueryString("c08")
		makequery
		%>
		<div id="selected" <%
			if query="" or query="query=q" then
				response.Write("style=""display:none;"" ")
			end if
		%>>
			<h1>已选特征：</h1>
			<%
			if request.QueryString("c01")<>"" then
			%>
			<dl>
				<dt>植物体质地</dt>
				<dd>
					<img src="images/Categories/01/<%=request.QueryString("c01") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c01
						c01=""
						makequery
						response.Write(query)
						c01=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c02")<>"" then
			%>
			<dl>
				<dt>叶整体类型</dt>
				<dd><img src="images/Categories/02/<%=request.QueryString("c02") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c02
						c02=""
						makequery
						response.Write(query)
						c02=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c03")<>"" then
			%>
			<dl>
				<dt>叶序</dt>
				<dd>
					<img src="images/Categories/03/<%=request.QueryString("c03") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c03
						c03=""
						makequery
						response.Write(query)
						c03=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c04")<>"" then
			%>
			<dl>
				<dt>叶质</dt>
				<dd>
					<img src="images/Categories/04/<%=request.QueryString("c04") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c04
						c04=""
						makequery
						response.Write(query)
						c04=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c05")<>"" then
			%>
			<dl>
				<dt>叶形-边缘</dt>
				<dd>
					<img src="images/Categories/05/<%=request.QueryString("c05") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c05
						c05=""
						makequery
						response.Write(query)
						c05=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c06")<>"" then
			%>
			<dl>
				<dt>叶形-形状</dt>
				<dd>
					<img src="images/Categories/06/<%=request.QueryString("c06") %>.gif" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c06
						c06=""
						makequery
						response.Write(query)
						c06=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			if request.QueryString("c07")<>"" then
			%>
			<dl>
				<dt>花色</dt>
				<dd>
					<img src="images/Categories/07/<%=request.QueryString("c07") %>.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c07
						c07=""
						makequery
						response.Write(query)
						c07=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c08")<>"" then
			%>
			<dl>
				<dt>花型</dt>
				<dd>
					<img src="images/Categories/08/<%
						if len(request.QueryString("c08"))=1 then
							response.Write("0")
						end if
						response.Write(request.QueryString("c08"))
					%>/1.JPG" width="100px" height="100px" /><input value="X" type="button" onclick="javascript:myredirect('<%
						t=c08
						c08=""
						makequery
						response.Write(query)
						c08=t
						makequery
					%>')" />
				</dd>
			</dl>
			<%
			end if
			%>
		</div>
		<div id="toselect">
			<%
			if request.QueryString("c01")="" then
			%>
			<dl>
				<dt>植物体质地</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c01=1')"><img src="images/Categories/01/1.JPG" width="100px" height="100px" />木本</li>
						<li onclick="javascript:myredirect('<%=query %>&c01=2')"><img src="images/Categories/01/2.JPG" width="100px" height="100px" />草质藤本</li>
						<li onclick="javascript:myredirect('<%=query %>&c01=3')"><img src="images/Categories/01/3.JPG" width="100px" height="100px" />草本</li>
						<li onclick="javascript:myredirect('<%=query %>&c01=4')"><img src="images/Categories/01/4.JPG" width="100px" height="100px" />肉质</li>
						<li onclick="javascript:myredirect('<%=query %>&c01=5')"><img src="images/Categories/01/5.JPG" width="100px" height="100px" />木质藤本</li>
						<li onclick="javascript:myredirect('<%=query %>&c01=6')"><img src="images/Categories/01/6.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c02")="" then
			%>
			<dl>
				<dt>叶整体类型</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c02=1')"><img src="images/Categories/02/1.JPG" width="100px" height="100px" />单叶</li>
						<li onclick="javascript:myredirect('<%=query %>&c02=2')"><img src="images/Categories/02/2.JPG" width="100px" height="100px" />掌状复叶</li>
						<li onclick="javascript:myredirect('<%=query %>&c02=3')"><img src="images/Categories/02/3.JPG" width="100px" height="100px" />羽状复叶</li>
						<li onclick="javascript:myredirect('<%=query %>&c02=4')"><img src="images/Categories/02/4.JPG" width="100px" height="100px" />三出复叶</li>
						<li onclick="javascript:myredirect('<%=query %>&c02=5')"><img src="images/Categories/02/5.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c03")="" then
			%>
			<dl>
				<dt>叶序</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c03=1')"><img src="images/Categories/03/1.JPG" width="100px" height="100px" />叶对生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=2')"><img src="images/Categories/03/2.JPG" width="100px" height="100px" />叶互生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=3')"><img src="images/Categories/03/3.JPG" width="100px" height="100px" />叶轮生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=4')"><img src="images/Categories/03/4.JPG" width="100px" height="100px" />叶簇生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=5')"><img src="images/Categories/03/5.JPG" width="100px" height="100px" />叶束生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=6')"><img src="images/Categories/03/6.JPG" width="100px" height="100px" />叶基生</li>
						<li onclick="javascript:myredirect('<%=query %>&c03=7')"><img src="images/Categories/03/7.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c04")="" then
			%>
			<dl>
				<dt>叶质</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c04=1')"><img src="images/Categories/04/1.JPG" width="100px" height="100px" />肉质</li>
						<li onclick="javascript:myredirect('<%=query %>&c04=2')"><img src="images/Categories/04/2.JPG" width="100px" height="100px" />纸质</li>
						<li onclick="javascript:myredirect('<%=query %>&c04=3')"><img src="images/Categories/04/3.JPG" width="100px" height="100px" />革质</li>
						<li onclick="javascript:myredirect('<%=query %>&c04=4')"><img src="images/Categories/04/4.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c05")="" then
			%>
			<dl>
				<dt>叶形-边缘</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c05=1')"><img src="images/Categories/05/1.JPG" width="100px" height="100px" />全缘</li>
						<li onclick="javascript:myredirect('<%=query %>&c05=2')"><img src="images/Categories/05/2.JPG" width="100px" height="100px" />有齿</li>
						<li onclick="javascript:myredirect('<%=query %>&c05=3')"><img src="images/Categories/05/3.JPG" width="100px" height="100px" />有裂</li>
						<li onclick="javascript:myredirect('<%=query %>&c05=4')"><img src="images/Categories/05/4.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c06")="" then
			%>
			<dl>
				<dt>叶形-形状</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c06=1')"><img src="images/Categories/06/1.gif" height="100px" width="1px" />针形</li>
						<li onclick="javascript:myredirect('<%=query %>&c06=2')"><img src="images/Categories/06/2.gif" height="100px" width="6px" />条形</li>
						<li onclick="javascript:myredirect('<%=query %>&c06=3')"><img src="images/Categories/06/3.gif" height="100px" width="33px" />矩形</li>
						<li onclick="javascript:myredirect('<%=query %>&c06=4')"><img src="images/Categories/06/4.gif" width="100px" height="100px" />正方形</li>
						<li onclick="javascript:myredirect('<%=query %>&c06=5')"><img src="images/Categories/06/5.gif" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c07")="" then
			%>
			<dl>
				<dt>花色</dt>
				<dd>
					<ul>
						<li onclick="javascript:myredirect('<%=query %>&c07=1')"><img src="images/Categories/07/1.JPG" width="100px" height="100px" />白黄系</li>
						<li onclick="javascript:myredirect('<%=query %>&c07=2')"><img src="images/Categories/07/2.JPG" width="100px" height="100px" />粉红系</li>
						<li onclick="javascript:myredirect('<%=query %>&c07=3')"><img src="images/Categories/07/3.JPG" width="100px" height="100px" />蓝紫系</li>
						<li onclick="javascript:myredirect('<%=query %>&c07=4')"><img src="images/Categories/07/4.JPG" width="100px" height="100px" />绿色系</li>
						<li onclick="javascript:myredirect('<%=query %>&c07=5')"><img src="images/Categories/07/5.JPG" width="100px" height="100px" />其他</li>
					</ul>
				</dd>
			</dl>
			<%
			end if
			%>
			<%
			if request.QueryString("c08")="" then
			%>
			<dl>
				<dt>花型</dt>
				<dd>
					<dl>
						<dt>唇形花</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=1')">
								<li><img src="images/Categories/08/01/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/01/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/01/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/01/4.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>蝶形花</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=2')">
								<li><img src="images/Categories/08/02/1.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>鹤形花或鸡冠形等动物形</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=3')">
								<li><img src="images/Categories/08/03/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/03/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/03/3.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>花瓣多数(大于六)辐射对称</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=4')">
								<li><img src="images/Categories/08/04/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/4.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/5.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/6.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/04/7.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>花瓣、裂片三或六</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=5')">
								<li><img src="images/Categories/08/05/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/05/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/05/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/05/4.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>花瓣四或花冠裂片四</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=6')">
								<li><img src="images/Categories/08/06/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/06/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/06/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/06/4.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>花瓣五或花冠裂片五</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=7')">
								<li><img src="images/Categories/08/07/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/07/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/07/3.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>花很小组成穗状或其他</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=8')">
								<li><img src="images/Categories/08/08/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/08/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/08/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/08/4.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>菊形花</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=9')">
								<li><img src="images/Categories/08/09/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/09/2.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/09/3.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/09/4.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>漏斗状或喇叭状</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=10')">
								<li><img src="images/Categories/08/10/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/10/2.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>有距花</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=11')">
								<li><img src="images/Categories/08/11/1.JPG" width="100px" height="100px" /></li>
								<li><img src="images/Categories/08/11/2.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
						<dt>其他</dt>
						<dd>
							<ul onclick="javascript:myredirect('<%=query %>&c08=12')">
								<li><img src="images/Categories/08/12/1.JPG" width="100px" height="100px" /></li>
							</ul>
						</dd>
					</dl>
				</dd>
			</dl>
			<%
			end if
			%>
		</div>
	</div>
	
	<div id="main">
	<%
	set conn=server.createobject("adodb.connection")
	conn.open "provider=microsoft.jet.oledb.4.0;data source="&server.mappath("App_Data\MainDB.mdb")
	set rs=server.createobject("adodb.recordset")
	c01=request.QueryString("c01")
	c02=request.QueryString("c02")
	c03=request.QueryString("c03")
	c04=request.QueryString("c04")
	c05=request.QueryString("c05")
	c06=request.QueryString("c06")
	c07=request.QueryString("c07")
	c08=request.QueryString("c08")
	query="1=1"
	if c01<>"" then
		query=query & " and (material\(2^" & c01 & "))mod 2=1"
	end if
	if c02<>"" then
		query=query & " and (leaf\(2^" & c02 & "))mod 2=1"
	end if
	if c03<>"" then
		query=query & " and (leafarrangement\(2^" & c03 & "))mod 2=1"
	end if
	if c04<>"" then
		query=query & " and (leafmaterial\(2^" & c04 & "))mod 2=1"
	end if
	if c05<>"" then
		query=query & " and (leafedge\(2^" & c05 & "))mod 2=1"
	end if
	if c06<>"" then
		query=query & " and (leafshape\(2^" & c06 & "))mod 2=1"
	end if
	if c07<>"" then
		query=query & " and (flowercolor\(2^" & c07 & "))mod 2=1"
	end if
	if c08<>"" then
		query=query & " and (flowershape\(2^" & c08 & "))mod 2=1"
	end if
	rs.open "SELECT * FROM [Species] WHERE isDel=False AND " & query & " ORDER BY ChineseName ASC",conn,1,3
	if rs.eof then
		response.Write("<img src=""images/plant.gif"" width=""200"" height=""200"" alt=""Sorry"" /><span style=""font-size:24px"">抱歉，没有搜到植物，请后退查证检索条件，或者联系我们添加。</span>")
	else
 pSize = 12
 If request.QueryString("p") = "" Then
  pNum = 1
 Else
  pNum = Cint(request.QueryString("p"))
 End If
 rs.pagesize = pSize
 pCount = rs.pagecount
 rs.absolutepage = pNum
 flag = pSize
 Do while not rs.eof and flag > 0
 	flag = flag - 1
	%>
	<dl>
		<dt><%=rs("ChineseName") %></dt>
		<dd>
		<img src="<%
			if isNULL(rs("filepath")) then
				response.Write("images/unknown.jpg")
			else
				response.Write(rs("filepath"))
			end if
		%>" />
		<label>中文名：</label><%=rs("ChineseName") %><br />
		<label>学名：</label><span style="font-style:italic;"><%
			str=rs("ScientificName")
			pos=InStr(str," ")
			pos=pos+InStr(mid(str,pos+1,len(str))," ")
			if pos=0 or pos=instr(str," ") then
				pos=len(str)
			end if
			response.Write(left(str,pos-1))
		%></span><%=" " & mid(str,pos+1,len(str))%><br />
		<label>俗名：</label><%=rs("CommonName") %><br />
		<label>科普简介：</label><%
			popintro=rs("PopIntro")
			popintro=Replace(Replace(popintro, vbCrlf, "<br />"), chr(32)&chr(32), "<br />")
			response.Write(popintro)
		%><br />
		<a href="addpic.asp?id=<%=rs("SpeciesID") %>">添加图片</a><br />
		<a href="show.asp?id=<%=rs("SpeciesID") %>">详细信息</a><br />
		<a href="update.asp?id=<%=rs("SpeciesID") %>">修改信息</a>
		</dd>
	</dl>
	<%
 	rs.movenext
 Loop
 response.Write("页码： - ")
 For k = 1 to pCount
  If k = pNum then
   response.Write(k & " - ")
  Else
   response.Write("<a href='popsearch.asp?" & query & "&p=" & k & "'>" & k & "</a> - ")
  End If
 Next
	end if
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
	%>
	</div>
</div>
<div id="footer">
	<ul id="about">
		<li><a href="project.html">项目简介</a></li>
		<li><a href="aboutus.html">关于我们</a></li>
		<li><a href="contact.html">联系我们</a></li>
		<li><a href="addspecies.html">上传资料</a></li>
		<li><a href="login.asp">登陆</a></li>
		<li><a href="reg.asp">注册</a></li>
	</ul>
	<span id="copyright">Copyright © FRS,Darwin Association</span>
</div>
</body>
</html>
